package executable.instance.inheritance;

import ctu.kfad.run.util.StringUtil;

public class TrickyInheritanceClassB extends TrickyInheritanceClassA {

    public String fnc(String s) {
        return StringUtil.concatenate(s, "fnc");
    }

    public static String callMe() {
        final TrickyInheritanceClassB classBExtendsClassA = new TrickyInheritanceClassB();
        return classBExtendsClassA.fnc("aaa");
    }

    public static String callMeFoo() {
        final TrickyInheritanceClassB classBExtendsClassA = new TrickyInheritanceClassB();
        return classBExtendsClassA.foo("aaa");
    }

}
